import React, {Component} from 'react'
import config from './config.json'
import styles from './Greeter.css'

class Greeter extends Component {
  render() {
    return (
      <div className={styles.root}>
        text: {config.greetText}
      </div>
    )
  }
}
export default Greeter

/* const config = require('./config.json')

module.exports = () => {
  let greet = document.createElement('div')
  greet.textContent = config.greetText
  return greet
} */